first version.
[build-srcpkg.git] / testing / 2.test_suite_testing.Testing for testsuite scripttest.unit / 4.scripttest_testcase_arch.Testsuite dir construction.dir / 2.scripttest_param_y.sh
blob421ae265eaacf8add45507bf47a11fa425d4eb72
1 #!/bin/bash
3 ############################################################
4 # Copyright (C) 2022- Free Software Foundation, Inc.
5 # This configure script is free software; the Free Software
6 # Foundation gives unlimited permission to copy, distribute
7 # and modify it.
9 . shlibinc
10 include stdio.shlib
13 init_dbglogout 2 testing 20000
15 dbgout "$0\n"
17 #err "$0\n"
19 echo $0
21 #echo xxx > /dev/pts/0
23 #ls -l> /dev/pts/0
25 dbgout_cmd pwd
27 cd scripts
28 rm -rf testcase
29 mkdir -p testcase
31 dbgout_cmd ls -R testing
34 # 在testing目录的测试例子中,第3个测试会遇到failed
35 # 测试-n设置1、2、3、5,测试5个item时,应该failed在第3个item上。
37 dbgout "aaaaaaaaaaaaaaaa\n"
38 scripttest -S funclist.txt
39 scripttest -d testcase -y funclist.txt
40 # scripttest -d testcase -y ./testing/funclist.txt
42 dbgout_cmd ls -R testcase
44 dbgout "aaaaaaaaaaaaaaaa\n"